#ifndef CHARACTER_SET
#define CHARACTER_SET

#include "GlobalDefine.h"
#include <SDL.h>

struct Character
{
	BYTE id;
	BYTE x,y;
	BYTE width,height;
	BYTE xadvance;
};

class CharacterSet
{
private:
	CharacterSet(){}
	CharacterSet(const CharacterSet&);
	CharacterSet& operator=(const CharacterSet&);
public:
	//Atributes
	unsigned int Size;
	unsigned int LineHeight;
	unsigned int Base;
	unsigned int BMWidth;
	unsigned int BMHeight;	
	char BitmapPath[100];
	SDL_Surface* BitmapFontIMG;
	Character ch[128];

	//Methoods	
	CharacterSet* Instance(); //Singleton
	int BuildFont(const char*);
};

#endif